package Dao;

import java.util.ArrayList;

public class shop_test {

    public static void main(String[] args) {
        ShopWay shopWay=new ShopWay();
        ArrayList<Shop> shopArrayList=new ArrayList<>();
        shopArrayList = shopWay.getAllData();
        for(Shop shop1:shopArrayList){
            System.out.println(shop1.getName()+" "+shop1.getPrice()+" "+shop1.getNumber());
        }
    }
}
